import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);

const router = new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: () => import('../pages/index/index.vue'),
    },
    {
      path: '/login',
      name: 'login',
      component: () => import('../pages/index/index.vue'),
      // component: () => import('../pages/login/login.vue'),
    },
    // 添加其他路由配置...
  ],
});

export default router;
